<style type="text/css">

    .fixed-table-body{
        height: 560px !important;
    }


</style>
<div class="vertical-box">
    <div class="vertical-box-column p-l-2 p-r-2 p-t-15 bg-silver width-150 height-full" style="border-right: 0.5px solid #b6c2c9;">
        <div class="fc-event-list" >
            <div class="fc-event text-center m-0" data-color="#b6c2c9" sec:authorize="hasAuthority('exemp:add')">
                <button  class="btn btn-white btn-md" onclick="addCustomer_ex()"><i class="fa fa-plus pull-left"></i>新增客户</button>
            </div>
            <div class="panel-group">
                <h5 class="m-l-10">客户意向</h5>
                <div class="panel-body p-3" style="background-color: #f0f3f4;">
                    <input type="hidden" id="cExGroudselect" value="">
                    <select class="multiple-select2 form-control width-140" name="cExGroud" id="cExGroud"  multiple="multiple">
                        <option value="A">A类</option>
                        <option value="B">B类</option>
                        <option value="C">C类</option>
                        <option value="D">D类</option>
                        <option value="E">E类</option>
                        <option value="F">F类</option>
                    </select>
                </div>
                <h5 class="m-l-10">筛选最初分配部门</h5>
                <div class="panel-body p-3" style="background-color: #f0f3f4;">
                    <input type="hidden" id="selectDeptId" value="">
                    <select class="multiple-select2 form-control width-140" name="cExGroud" id="deptSelect"  multiple="multiple">

                    </select>
                </div>
                <h5 class="m-l-10">筛选当前跟进部门</h5>
                <div class="panel-body p-3" style="background-color: #f0f3f4;">
                    <input type="hidden" id="selectCurrentDeptId" value="">
                    <select class="multiple-select2 form-control width-140" name="cExCurrentDept" id="currentDeptS"  multiple="multiple">

                    </select>
                </div>
                <h5 class="m-l-10">筛选当前跟进人</h5>
                <div class="panel-body p-3" style="background-color: #f0f3f4;">
                    <input type="hidden" id="selectPersonId" value="">
                    <select class="multiple-select2 form-control width-140" name="cExReceiver" id="personSelect"  multiple="multiple">

                    </select>
                </div>
                <h5 class="m-l-10">筛选地区</h5>
                <div class="panel-body p-3" style="background-color: #f0f3f4;">
                    <input type="hidden" id="selectPlaceId" value="">
                    <select class="multiple-select2 form-control width-140" name="" id="placeSelect"  multiple="multiple">
                        <option value="济南">济南</option>
                        <option value="莱芜">莱芜</option>
                        <option value="德州">德州</option>
                        <option value="聊城">聊城</option>
                        <option value="泰安">泰安</option>
                        <option value="淄博">淄博</option>
                        <option value="滨州">滨州</option>
                        <option value="济宁">济宁</option>
                        <option value="菏泽">菏泽</option>
                        <option value="临沂">临沂</option>
                        <option value="青岛">青岛</option>
                        <option value="东营">东营</option>
                        <option value="威海">威海</option>
                        <option value="烟台">烟台</option>
                        <option value="日照">日照</option>
                        <option value="其他">其他</option>
                    </select>
                </div>
            </div>
        </div>
    </div>
    <div class="vertical-box-column p-15 calendar">
        <form class="user-table-form">
            <div class="row">
                <div class="col-sm-12">
                    <ul class="nav nav-tabs" id="chooseTab">
                        <li class="active"><a href="" data-toggle="tab">属性筛选</a></li>
                        <li class="pull-right">
                            <div class="input-group width-350 height-25 ">
                                <div class="input-group-btn ">
                                    <button type="button" class="btn btn-primary p-0 height-25 width-75" id="stype">综合</button>
                                    <button type="button" class="btn btn-primary dropdown-toggle p-0 p-l-5 p-r-5 height-25" data-toggle="dropdown">
                                        <span class="caret"></span>
                                    </button>
                                    <input id="searchType" value="s_all" type="hidden">  <!--查询的类型-->
                                    <ul class="dropdown-menu width-75" style="min-width: 75px">
                                        <li><a href="javascript:void(0)" onclick="" data="s_all">综合</a></li>
                                        <li><a href="javascript:void(0)" onclick="" data="s_name">姓名</a></li>
                                        <li><a href="javascript:void(0)" onclick="" data="s_mobile">电话</a></li>
                                        <li><a href="javascript:void(0)" onclick="" data="s_phone">手机</a></li>
                                        <li><a href="javascript:void(0)" onclick="" data="s_chat">微信</a></li>
                                        <li><a href="javascript:void(0)" onclick="" data="s_qq">QQ</a></li>
                                        <li><a href="javascript:void(0)" onclick="" data="s_email">邮箱</a></li>
                                    </ul>
                                </div>
                                <div class="input-group">
                                    <input type="text" id="searchValue" class="form-control height-25 p-0 p-l-5 p-r-5 " />
                                    <span class="input-group-addon"><a href="javascript:void(0);" ><i class="fa  fa-search"></i></a></span>
                                </div>
                            </div>
                        </li>
                    </ul>
                    <table class="table table-default table-bordered m-t-3 m-b-5" >
                        <tbody>
                        <tr>
                            <th class="text-center m-b-0 p-0 col-md-2 bg-gray-dark" style="vertical-align: middle">筛选项目</th>
                            <th class="col-md-9" id="changeinteproject">
                                <button type="button" class="btn btn-link m-l-10 p-3  btn-primary" onclick="changeinteproject(this)" data-click="">不限</button>
                                <button type="button" class="btn btn-link m-l-10 p-3  " onclick="changeinteproject(this)" data-click="自学考试">自学考试</button>
                                <button type="button" class="btn btn-link m-l-10 p-3  " onclick="changeinteproject(this)" data-click="普通专升本">普通专升本</button>
                                <button type="button" class="btn btn-link m-l-10 p-3  " onclick="changeinteproject(this)" data-click="考研辅导">考研辅导</button>
                                <button type="button" class="btn btn-link m-l-10 p-3  " onclick="changeinteproject(this)" data-click="在职研">在职研</button>
                                <button type="button" class="btn btn-link m-l-10 p-3  " onclick="changeinteproject(this)" data-click="教师资格证">教师资格证</button>
                                <button type="button" class="btn btn-link m-l-10 p-3  " onclick="changeinteproject(this)" data-click="英语等级">英语等级</button>
                                <button type="button" class="btn btn-link m-l-10 p-3  " onclick="changeinteproject(this)" data-click="计算机等级">计算机等级</button>
                                <button type="button" class="btn btn-link m-l-10 p-3  " onclick="changeinteproject(this)" data-click="成考辅导">成考辅导</button>
                                <button type="button" class="btn btn-link m-l-10 p-3  " onclick="changeinteproject(this)" data-click="网教统考">网教统考</button>
                                <button type="button" class="btn btn-link m-l-10 p-3  " onclick="changeinteproject(this)" data-click="总裁班">总裁班</button>
                                <button type="button" class="btn btn-link m-l-10 p-3  " onclick="changeinteproject(this)" data-click="出国留学">出国留学</button>
                                <button type="button" class="btn btn-link m-l-10 p-3  " onclick="changeinteproject(this)" data-click="自考省外">自考省外</button>
                                <button type="button" class="btn btn-link m-l-10 p-3  " onclick="changeinteproject(this)" data-click="健康管理师">健康管理师</button>
                                <button type="button" class="btn btn-link m-l-10 p-3  " onclick="changeinteproject(this)" data-click="5G培训">5G培训</button>
                                <button type="button" class="btn btn-link m-l-10 p-3  " onclick="changeinteproject(this)" data-click="海南自考">海南自考</button>
                            </th>
                        </tr>
                        <tr>
                            <th class="text-center m-b-0 p-0 col-md-2 bg-gray-dark" style="vertical-align: middle">客户创建时间</th>
                            <th class="col-md-9" id="extcustTime">
                                <input type="hidden" id="ext_starttime" name="ext_starttime" value="">
                                <input type="hidden" id="ext_endtime" name="ext_endtime" value="">
                                <button type="button" class="btn btn-link m-l-10 p-3  btn-primary" onclick="extEmpTime(this)" data-click="">不限</button>
                                <button type="button" class="btn btn-link m-l-10 p-3 " onclick="extEmpTime(this)" data-click="selft">自定义</button>
                                <button id="exEmp_advance"type="button" class="btn btn-white m-l-10  width-300 hidden">
                                    <span></span><i class="fa fa-angle-down fa-fw"></i>
                                </button>
                            </th>
                        </tr>
                        <tr>
                            <th class="text-center m-b-0 p-0 col-md-2 bg-gray-dark" style="vertical-align: middle">客户分配</th>
                            <th class="col-md-9" id="disatre">
                                <input type="hidden" id="ext_disatre" name="ext_disatre" value="">
                                <button type="button" class="btn btn-link m-l-10 p-3  btn-primary" onclick="extEmpDisatre(this)" data-click="">不限</button>
                                <button type="button" class="btn btn-link m-l-10 p-3 " onclick="extEmpDisatre(this)" data-click="0">已分配</button>
                                <button type="button" class="btn btn-link m-l-10 p-3 " onclick="extEmpDisatre(this)" data-click="1">未分配</button>
                            </th>
                        </tr>
                        <tr>
                            <th class="text-center m-b-0 p-0 col-md-2 bg-gray-dark" style="vertical-align: middle">是否成交</th>
                            <th class="col-md-9" id="dealbutn">
                                <input type="hidden" id="selectStage" name="selectStage" value="">
                                <button type="button" class="btn btn-link m-l-10 p-3  btn-primary" onclick="extEmpIsDeal(this)" data-click="">不限</button>
                                <button type="button" class="btn btn-link m-l-10 p-3 " onclick="extEmpIsDeal(this)" data-click="0">否</button>
                                <button type="button" class="btn btn-link m-l-10 p-3 " onclick="extEmpIsDeal(this)" data-click="1">是</button>
                            </th>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </form>
        <table id="bigExEmpTable" data-mobile-responsive="true" class="mb-bootstrap-table"></table>
    </div>
</div>
<!-- begin theme-panel -->
<div class="theme-panel">
    <a href="javascript:;" data-click="theme-panel-expand" class="theme-collapse-btn" id="selectTheme" style="display: none"><i class="fa fa-cog"></i></a>
    <div class="theme-panel-content">
        <h6 class="m-t-0">已选择&nbsp;<span id="sutomeSelect"> </span> &nbsp;个客户</h6>
        <div class="divider m-t-3"></div>
        <div class="row m-t-10">
            <div class="col-md-10 control-label double-line"><a href="javascript:void(0)" onclick="exportExtEmpInfo();"><i class="fa fa-share-square-o m-r-5"></i>导出客户</a></div>
        </div>
        <div class="divider m-t-3"></div>
        <div class="row m-t-10" sec:authorize="hasAuthority('customer:delete')">
            <div class="col-md-10 control-label double-line"><a href="javascript:void(0)" onclick="deleteExtEmp();"><i class="fa fa-trash-o m-r-5"></i>删除客户</a></div>
        </div>
    </div>
</div>
<!--客户资料 start-->
<input type="hidden" id="customer_ids" value="">
<input type="hidden" id="customer_type" value="1">
<div class="modal fade" id="myCustomer-modal" data-keyboard="false" data-backdrop="static" tabindex="-1"></div>
<!--客户资料 end-->
<script data-th-src="@{customer/seaManage/seaExtension/extension_index.js}"></script>